package com.opencloud.ywt.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 问卷
 * @author yeyong
 */
@TableName("bhyf_bdb_sleep_person")
public class BhyfBdbSleepPerson implements Serializable {

    private static final long serialVersionUID= -964202352621690483L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String mac;

    private String starttime;

    private String endtime;

    private Date sleepdate;

    private Integer turncount;

    private Integer sleepseconds;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSleepseconds() {
        return sleepseconds;
    }

    public void setSleepseconds(Integer sleepseconds) {
        this.sleepseconds = sleepseconds;
    }

    public Integer getTurncount() {
        return turncount;
    }

    public void setTurncount(Integer turncount) {
        this.turncount = turncount;
    }

    public Date getSleepdate() {
        return sleepdate;
    }

    public void setSleepdate(Date sleepdate) {
        this.sleepdate = sleepdate;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    @Override
    public String toString() {
        return "BhyfBdbSleepPerson{" +
                "id=" + id +
                ", mac=" + mac +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", sleepdate=" + sleepdate +
                ", turncount=" + turncount +
                ", sleepseconds=" + sleepseconds +
                "}";
    }
}
